xm: Fix help messages of xm vcpu-list/uptime
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 7 Dec 2007 12:44:27 +0000 (12:44 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 7 Dec 2007 12:44:27 +0000 (12:44 +0000)
We can give multiple domains to the following commands.
But, the help messages of the commands are explained to be able
to give a single domain.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xm/main.py

index b8172eb06bcce39bb3481e820d7c0d5afaa8927a..59105a8f86c311ff9eb5f4e7564ace5aa4c459e1 100644 (file)
@@ -114,7 +114,8 @@ SUBCOMMAND_HELP = {
     'shutdown'    : ('<Domain> [-waRH]', 'Shutdown a domain.'),
     'top'         : ('', 'Monitor a host and the domains in real time.'),
     'unpause'     : ('<Domain>', 'Unpause a paused domain.'),
-    'uptime'      : ('[-s] <Domain>', 'Print uptime for a domain.'),
+    'uptime'      : ('[-s] [Domain, ...]',
+                     'Print uptime for all/some domains.'),
 
     # Life cycle xm commands
     'new'         : ('<ConfigFile> [options] [vars]',
@@ -143,8 +144,8 @@ SUBCOMMAND_HELP = {
     'debug-keys'  : ('<Keys>', 'Send debug keys to Xen.'),
     'trigger'     : ('<Domain> <nmi|reset|init> [<VCPU>]',
                      'Send a trigger to a domain.'),
-    'vcpu-list'   : ('[<Domain>]',
-                     'List the VCPUs for a domain or all domains.'),
+    'vcpu-list'   : ('[Domain, ...]',
+                     'List the VCPUs for all/some domains.'),
     'vcpu-pin'    : ('<Domain> <VCPU|all> <CPUs|all>',
                      'Set which CPUs a VCPU can use.'),
     'vcpu-set'    : ('<Domain> <vCPUs>',